package com.test.ob;

/**
 * ${DESCRIPTION}
 *
 * @author muxiaoyu
 * @create 2017/05/17 9:20
 **/
public class ObMain {
    public static void main(String[] args) {
        ObObject obObject = new ObObject();
        ObableObject obableObject = new ObableObject();
        obableObject.addObserver(obObject);
        obableObject.setName("888");
        obableObject.setName("77777777");
        obableObject.setName("可被监视的对象已经更换了名称！");
    }
}
